package com.mybatisplus.demo.design_patterns.section_9;

public class Adapter extends Adaptee implements Target {
    @Override
    public void targetMethod1() {
        System.out.println("220v -> 110v");
        Method1();
    }

    @Override
    public void targetMethod2() {
        System.out.println("380v -> 220v");
        Method2();
    }

}
